import request from "request"
 const dogDic = ()=>{
  return new Promise((resolve, reject) => {
    var options = {
        'method': 'POST',
        'url': 'https://api.oioweb.cn/api/SimpWords',
        'headers': {
          'Content-Type': 'application/json'
        },
    }
    request(options, function (error, response) {
        if (error) resolve(error)
        resolve(JSON.parse(response.body))
      })
  })
}
export default dogDic